package com.bugpool.leilema.tc.bean.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.bugpool.leilema.tc.bean.entity.SysRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author wh
 * @Description
 * @Date 2023/6/12 15:09
 * @Version 1.0
 **/
@Data
public class SysUserVo {
    @ApiModelProperty(value = "")
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Long userId;


    @ApiModelProperty(value = "部门id")
    private Long deptId;


    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String userName;


    /**
     * 状态 0正常 1停用
     */
    @ApiModelProperty(value = "状态 0正常 1停用")
    private String status;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String nickName;

    /**
     * 是否是管理员
     */
    @ApiModelProperty(value = "是否是管理员")
    private boolean isAdmin=false;


    @ApiModelProperty(value = "角色集合")
    private List<SysRole> sysRoleList;


    @ApiModelProperty(value = "角色id集合")
    private List<Long> roleIds;




}
